var k = 0;

topic = require('../controllers/topic');
Part = require('../proxy/part');

var c = 'hello\r\n~%~man\r\ng11111ood0\r\ngdddood1\r\n ~%~kkk\r\npaddrt0\r\n~%~kkk3\r\npart013\r\npartdddd113\r\n ~%~\r\n\r\npart1\r\n ~%~\r\n ~%~kkk2\r\nparsssst01\r\npart11\r\n ~%~\r\ngood2\r\n~%~\r\nNo-need';
topic.save_part(c, 'topicid1');

Part.getPartByPartName('kkk', function (err, oldPart) {
    console.log('OLD');
});

Part.getPartByPartName('kkk2', function (err, oldPart) {
    console.log('OLD' + oldPart.content);
});

Part.getPartByPartName('man', function (err, oldPart) {
    console.log('OLD');
});
